MouseWheel

fun MouseWheel(location: Point, locationOnScreen: Point = Point.empty(), keyModifiers: KeyModifiers = KeyModifiers(), scrollType: <Error class: unknown class> = ScrollType.SCROLL_TYPE_UNSPECIFIED, deltaX: Float = 0.0f, deltaY: Float = 0.0f): MouseWheel
fun MouseWheel(location: Point, locationOnScreen: Point = Point.empty(), keyModifiers: KeyModifiers = KeyModifiers(), scrollType: <Error class: unknown class> = ScrollType.SCROLL_TYPE_UNSPECIFIED, deltaX: Float = 0.0f, deltaY: Float = 0.0f): MouseWheel

Creates a new instance of MouseWheel with the given parameters.

Since

8.0.0

Parameters

location

The mouse position relative to the bounds of the browser instance.

locationOnScreen

The mouse position relative to the bounds of the screen.

keyModifiers

The keyboard modifiers applied.

scrollType

The scroll type of the event.

deltaX

The number of units to scroll horizontally.

deltaY

The number of units to scroll vertically.